<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
	<title> 首页 </title>
	<meta http-equiv="content-Type" content="text/html;charset=UTF-8">
	<meta name="Generator" content="EditPlus">
	<meta name="Author" content="">
	<meta name="Keywords" content="">
	<meta name="Description" content="">
	<script type="text/javascript" src="{:__TMPLPUB__}/Js/district.js"></script>
	<link rel="stylesheet" type="text/css" href="{:__TMPLPUB__}/Css/main.css" />
	
 </head>
 <body>
	<div id="container">
		<div class="title">
			<a href="">主页</a>&nbsp;>&nbsp;<a href="">blog管理</a>&nbsp;>&nbsp;<a href="">博客设置</a>
		</div>
		<div id="content" class="clearfix">
			<div class="sidebar">
				<ul id="sidemenu">
					<li onclick="javascript:select(0);"><a href="{:Dyhb::U('Manage/configure')}">博客设置</a></li>
					<li onclick="javascript:select(1);"><a href="{:Dyhb::U('Manage/personal')}">个人设置</a></li>
					<li onclick="javascript:select(2);"><a href="{:Dyhb::U('Manage/link')}">友情链接</a></li>
					<li onclick="javascript:select(3);"><a href="{:Dyhb::U('Manage/mode')}">模块管理</a></li>
				</ul>
			</div>
			<div class="data">
				<table width="100%" cellspacing="0" cellpadding="0">
					<form action="{:Dyhb::U('Manage/deal_blogset')}" method="post">
						<tbody>
							<tr>
								<td width="20%" align="right">博客名称: </td>
								<td width="80%" align="left"><input type="text" name="option[site_name]" value="{$arrData.site_name}"/></td>
							</tr>
							<tr>
								<td width="20%" align="right" valign="top">博客描述: </td>
								<td width="80%" align="left"><textarea name="option[site_decription]" cols="25" rows="4">{$arrData.site_decription}</textarea></td>
							</tr>
							<tr>
								<td width="20%" align="right">博客地址: </td>
								<td width="80%" align="left"><input type="text" name="option[site_url]" value="{$arrData.site_url}" />http://www</td>
							</tr>
							<tr>
								<td width="20%" align="right">icp备案号: </td>
								<td width="80%" align="left"><input type="text" name="option[site_icp]" 
								value="{$arrData.site_icp}" /></td>
							</tr>
							<tr>
								<td width="20%" align="right">页显示日志数: </td>
								<td width="80%" align="left"><input type="text" name="option[site_lognum]" 
								 value="{$arrData.site_lognum}"/></td>
							</tr>
							<tr>
								<td width="20%" align="right">显示最新评论数: </td>
								<td width="80%" align="left"><input type="text" name="option[site_comnum]" 
								value="{$arrData.site_comnum}"/></td>
							</tr>
							<tr>
								<td width="20%" align="right">启用评论审核: </td>
								<td width="80%" align="left">
									<select name="option[is_check]">
										<option value="y" {$ext.is_checky}>是</option>
										<option value="n" {$ext.is_checkn}>否</option>
									</select>
									开启后,评论需通过审核才能显示
								</td>
							</tr>
							<tr>
								<td width="20%" align="right">启用登陆验证: </td>
								<td width="80%" align="left">
									<select name="option[login_code]">
										<option value="y" {$ext.login_codey}>是</option>
										<option value="n" {$ext.login_coden}>否</option>
									</select>
								</td>
							</tr>
							<tr>
								<td width="20%" align="right">启用评论验证: </td>
								<td width="80%" align="left">
									<select name="option[comment_code]">
										<option value="y" {$ext.comment_codey}>是</option>
										<option value="n" {$ext.comment_coden}>否</option>
									</select>
								</td>
							</tr>
							<tr>
								<td width="20%" align="right">启用注册验证: </td>
								<td width="80%" align="left">
									<select name="option[logup_code]">
										<option value="y" {$ext.logup_codey}>是</option>
										<option value="n" {$ext.logup_coden}>否</option>
									</select>
								</td>
							</tr>
							<tr>
								<td width="20%" align="right">服务器所在时区: </td>
								<td width="80%" align="left">
									<select name="option[timezone]" id="timezone_list">
										<script type="text/javascript">
											createTimezone({$arrData.timezone});
										</script>
									</select>
								</td>
							</tr>
							<tr>
								<td colspan="2" >
								<input class="submit" type="submit" name="sub" value="保存"/>
								<input type="reset" name="reset" value="重置"/>
								</td>
							</tr>
						</tbody>
					</form>
				</table>
			</div>
		</div>
	</div>
	<script type="text/javascript">
		function select(value){
			var list=document.getElementsByTagName("li");
			for(var i=0;i<list.length;i++){
				list[i].className="";
			}
			list[value].className="active";
		}
		select(0);
	</script>
 </body>
</html>